<div class="navbar navbar-fixed-top">
	<div class="navbar-inner">
		<div class="container-fluid">
			<a class="btn btn-navbar" data-toggle="collapse"
				data-target=".nav-collapse"> <span class="icon-bar"></span> <span
				class="icon-bar"></span> <span class="icon-bar"></span>
			</a> <a class="brand" href="#">${_SITE_NAME}</a>
			<div class="nav-collapse">
				<ul class="nav">
					<li><a href="${_BASE_PATH}/frame">主页</a></li> 
					<#list _systemMenus as nodes>
					 <#if nodes.children?exists>
					<li class="dropdown"><a href="#" class="dropdown-toggle"
						data-toggle="dropdown">${nodes.name} <b class="caret"></b></a>
						<ul class="dropdown-menu">
							<#list nodes.children as sub>
							<li><a href="${_BASE_PATH}${sub.userData.link}">${sub.name}</a></li>
							</#list>
						</ul></li> 
					 <#else>
					<li><a href="${_BASE_PATH}${nodes.userData.link}">${nodes.name}</a></li>
					 </#if> 
					</#list>

				</ul>
				<p class="navbar-text pull-right">
					<i class="icon-user"></i> ${_sessionob.member.cname_}
					<a id="_logout" href="#">退出</a>
				</p>
			</div>

			<!--/.nav-collapse -->
		</div>
	</div>
</div>
<script type="text/javascript">

$(function(){
	
	$("#_logout").click(function(e){
		$.confirm("确定要退出吗？",function(){
			$.ajax({
				url : "${_BASE_PATH}/logout",
				success : function(){
					window.location.href = "${_BASE_PATH}/login";
				}
			})
		})
	});
});

</script>




